Show user IDs separately in audit log search results#207
Merged
Conversation
yummybomb
marked this pull request as ready for review
July 17, 2026 15:32
yummybomb
requested review from
Copilot and
hiroTamada
and removed request for
Copilot
July 17, 2026 15:36
hiroTamada
approved these changes
Jul 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
-when an email is unavailable instead of repeating the user IDTest plan
make testmake build./bin/kernel audit-logs search --limit 3 --no-colorNote
Low Risk
CLI-only presentation change for audit log search; no API or auth behavior changes.
Overview
kernel audit-logs searchtable output now has a dedicated User ID column populated fromentry.UserID, so identifiers are visible even when an email is present.The User column is email-only: it shows the address when available and
-when it is not, instead of reusing the user ID in that column. JSON output is unchanged.Tests assert
user_123appears in search table output and thatformatAuditLogUserreturns-when email is missing.Reviewed by Cursor Bugbot for commit 3d0e976. Bugbot is set up for automated code reviews on this repo. Configure here.